﻿
using System.Configuration;
using Red.Controls.Shell;

namespace Red.Toolkit.AssetBrowser
{
    public class UserSettings : RedSettings
    {
        [UserScopedSetting]
        public string[] Favorites
        {
            get { return GetValue<string[]>(); }
            set { SetValue( value ); }
        }
        
        [UserScopedSetting]
        public string[] Tabs
        {
            get { return GetValue<string[]>(); }
            set { SetValue( value ); }
        }

        [UserScopedSetting]
        [DefaultSettingValue( "0" )]
        public int ActiveTabIndex
        {
            get { return GetValue<int>(); }
            set { SetValue( value ); }
        }
    }
}
